package com.jhhc.EngineeringSafety.Calculate.Forecast.entity.result;

public class ValueModelP
{
    private String monitorName;
    private String monitorId;
    private String monitorXY;
    private String monitorCode;
    ValueModelC valueModels;

    public void setMonitorName(String monitorName)
    {
        this.monitorName = monitorName;
    }

    public void setMonitorId(String monitorId)
    {
        this.monitorId = monitorId;
    }

    public void setMonitorXY(String monitorXY)
    {
        this.monitorXY = monitorXY;
    }

    public void setMonitorCode(String monitorCode)
    {
        this.monitorCode = monitorCode;
    }

    public void setValueModels(ValueModelC valueModels)
    {
        this.valueModels = valueModels;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ValueModelP)) {
            return false;
        }
        ValueModelP other = (ValueModelP)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$monitorName = getMonitorName();Object other$monitorName = other.getMonitorName();
        if (this$monitorName == null ? other$monitorName != null : !this$monitorName.equals(other$monitorName)) {
            return false;
        }
        Object this$monitorId = getMonitorId();Object other$monitorId = other.getMonitorId();
        if (this$monitorId == null ? other$monitorId != null : !this$monitorId.equals(other$monitorId)) {
            return false;
        }
        Object this$monitorXY = getMonitorXY();Object other$monitorXY = other.getMonitorXY();
        if (this$monitorXY == null ? other$monitorXY != null : !this$monitorXY.equals(other$monitorXY)) {
            return false;
        }
        Object this$monitorCode = getMonitorCode();Object other$monitorCode = other.getMonitorCode();
        if (this$monitorCode == null ? other$monitorCode != null : !this$monitorCode.equals(other$monitorCode)) {
            return false;
        }
        Object this$valueModels = getValueModels();Object other$valueModels = other.getValueModels();return this$valueModels == null ? other$valueModels == null : this$valueModels.equals(other$valueModels);
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof ValueModelP;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $monitorName = getMonitorName();result = result * 59 + ($monitorName == null ? 43 : $monitorName.hashCode());Object $monitorId = getMonitorId();result = result * 59 + ($monitorId == null ? 43 : $monitorId.hashCode());Object $monitorXY = getMonitorXY();result = result * 59 + ($monitorXY == null ? 43 : $monitorXY.hashCode());Object $monitorCode = getMonitorCode();result = result * 59 + ($monitorCode == null ? 43 : $monitorCode.hashCode());Object $valueModels = getValueModels();result = result * 59 + ($valueModels == null ? 43 : $valueModels.hashCode());return result;
    }

    public String toString()
    {
        return "ValueModelP(monitorName=" + getMonitorName() + ", monitorId=" + getMonitorId() + ", monitorXY=" + getMonitorXY() + ", monitorCode=" + getMonitorCode() + ", valueModels=" + getValueModels() + ")";
    }

    public String getMonitorName()
    {
        return this.monitorName;
    }

    public String getMonitorId()
    {
        return this.monitorId;
    }

    public String getMonitorXY()
    {
        return this.monitorXY;
    }

    public String getMonitorCode()
    {
        return this.monitorCode;
    }

    public ValueModelC getValueModels()
    {
        return this.valueModels;
    }
}
